package com.jobchecks.base.api.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 公共请求参数
 *
 * @author huangjinjia
 */
@Data
public class BaseReq implements Serializable{

    @ApiModelProperty( value = "请求流水")
    @Size(max = 64, message = "请求流水最长64位")
    private String requestId;

    @ApiModelProperty( value = "全局流水号")
    @Size(max = 64, message = "全局流水号最长64位")
    private String globalNo;

    @ApiModelProperty( value = "系统编号")
    @Size(max = 32, message = "系统编号最长32位")
    private String systemId;
}
